<html xmlns="http://www.w3.org/1999/xhtml" xmlns:c="http://java.sun.com/jstl/core"
      xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:t="http://myfaces.apache.org/tomahawk"
      xmlns:v="http://corejsf.com/validator">

<f:view>
<f:loadBundle var="text" basename="#{pdfl2Form.bundleName}"/>
    <head>
        <title>#{text['pdfl2Detail.title']}</title>
        <meta name="heading" content="#{text['pdfl2Detail.heading']}"/>
        <style type="text/css">
            .jscalendar-DB-div-style {
                position: absolute;
                margin-top: -120px;
                margin-left: -508px;
            }
    </style>
    </head>
<body id="pdfl2Form">

<h:form id="pdfl2Form" onsubmit="return validatePdfl2Form(this)">

<h:inputHidden value="#{pdfl2Form.pdfl2.id}" id="id"/>
<h:inputHidden value="#{pdfl2Form.pdfl2.version}" id="version"/>

<h:panelGrid columns="6">
   
   
   
    <h:outputLabel styleClass="desc" for="pdfl2" value="#{text['pdfl2.pdfl2']}"/>
    <t:message for="pdfl2" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="pdfl2" value="#{pdfl2Form.pdfl2.pdfl2}" required="true" maxlength="10">
        <v:commonsValidator type="required" arg="#{text['pdfl2.pdfl2']}"/>
    </h:inputText>
    <h:outputLabel styleClass="desc" for="pdflmc2" value="#{text['pdfl2.pdflmc2']}"/>
    <t:message for="pdflmc2" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="pdflmc2" value="#{pdfl2Form.pdfl2.pdflmc2}" required="true" maxlength="50">
        <v:commonsValidator type="required" arg="#{text['pdfl2.pdflmc2']}"/>
    </h:inputText>
  
    <h:outputLabel styleClass="desc" for="xssx" value="#{text['pdfl2.xssx']}"/>
    <t:message for="xssx" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="xssx" value="#{pdfl2Form.pdfl2.xssx}" required="false" maxlength="255">
    </h:inputText>

</h:panelGrid>
 <h:panelGroup styleClass="buttonBar bottom">
        <h:commandButton value="#{text['button.save']}" action="#{pdfl2Form.save}" id="save" styleClass="button"/>

        <c:if test="${not empty pdfl2Form.pdfl2.id}">
        <h:commandButton value="#{text['button.delete']}" action="#{pdfl2Form.delete}"
            id="delete" styleClass="button" onclick="bCancel=true; return confirmDelete('Pdfl2')"/>
        </c:if>

        <h:commandButton value="#{text['button.cancel']}" action="cancel" immediate="true"
            id="cancel" styleClass="button" onclick="bCancel=true"/>
    </h:panelGroup>
</h:form>

<v:validatorScript functionName="validatePdfl2Form"/>

<script type="text/javascript">
    //Form.focusFirstElement($('pdfl2Form'));
    highlightFormElements();
</script>

</body>
</f:view>
</html><!--

 <h:outputLabel styleClass="desc" for="operation" value="#{text['pdfl2.operation']}"/>
    <t:message for="operation" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="operation" value="#{pdfl2Form.pdfl2.operation}" required="false" maxlength="20">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="optdate" value="#{text['pdfl2.optdate']}"/>
    <t:message for="optdate" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="optdate" value="#{pdfl2Form.pdfl2.optdate}" required="false" maxlength="23">
    </h:inputText>


 <h:selectOneMenu value="#{pdfl2Form.pdfl2.pdfl1}" id="pdfl1" required="false" styleClass="select">
        <f:selectItems value="#{pdfl2Form.pdfl2.pdfl1}"/>
    </h:selectOneMenu>

  <h:outputLabel styleClass="desc" for="username" value="#{text['pdfl2.username']}"/>
    <t:message for="username" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="username" value="#{pdfl2Form.pdfl2.username}" required="false" maxlength="50">
    </h:inputText>
 <h:outputLabel styleClass="desc" for="id" value="#{text['pdfl2.id']}"/>
    <h:inputText styleClass="text medium" id="id" value="#{pdfl2Form.pdfl2.id}" required="true">
        <v:commonsValidator type="required" arg="#{text['pdfl2.id']}"/>
    </h:inputText>
    <t:message for="id" styleClass="fieldError"/>
-->